package com.dkm.ec.so.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:订单发票信息 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-08-01 19:50:12
 */
 @ITable(name="soInvoice",code="t_so_invoice")
public class SoInvoiceTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*主键*/
	@IField(name="soId",column="so_id_")
	protected String  soId; 		/*所属订单 ID*/
	@IField(name="title",column="title_")
	protected String  title; 		/*发票抬头*/
	@IField(name="addr",column="addr_")
	protected String  addr; 		/*发票地址*/
	@IField(name="person",column="person_")
	protected String  person; 		/*联系人*/
	@IField(name="phone",column="phone_")
	protected String  phone; 		/*电话*/
	@IField(name="type",column="type_")
	protected String  type; 		/*发票种类。paper=纸质发票，electron=电子发票*/
	@IField(name="billToPartyType",column="bill_to_party_type_")
	protected String  billToPartyType; 		/*开票方类型。personal=个人；unit=单位*/
	@IField(name="socialUniformCode",column="social_uniform_code_")
	protected String  socialUniformCode; 		/*社会统一代码*/
	@IField(name="forType",column="for_type_")
	protected String  forType; 		/*发票类型。commen=普通发票；plus=增值税发票*/
	@IField(name="money",column="money_")
	protected java.math.BigDecimal  money; 		/*发票金额*/
	@IField(name="content",column="content_")
	protected String  content; 		/*发票类型。commen=普通发票；plus=增值税发票*/
	
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 主键
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSoId(String soId) 
	{
		this.soId = soId;
	}
	/**
	 * 返回 所属订单 ID
	 * @return
	 */
	public String getSoId() 
	{
		return this.soId;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}
	/**
	 * 返回 发票抬头
	 * @return
	 */
	public String getTitle() 
	{
		return this.title;
	}
	public void setAddr(String addr) 
	{
		this.addr = addr;
	}
	/**
	 * 返回 发票地址
	 * @return
	 */
	public String getAddr() 
	{
		return this.addr;
	}
	public void setPerson(String person) 
	{
		this.person = person;
	}
	/**
	 * 返回 联系人
	 * @return
	 */
	public String getPerson() 
	{
		return this.person;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}
	/**
	 * 返回 电话
	 * @return
	 */
	public String getPhone() 
	{
		return this.phone;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 发票种类。paper=纸质发票，electron=电子发票
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setBillToPartyType(String billToPartyType) 
	{
		this.billToPartyType = billToPartyType;
	}
	/**
	 * 返回 开票方类型。personal=个人；unit=单位
	 * @return
	 */
	public String getBillToPartyType() 
	{
		return this.billToPartyType;
	}
	public void setSocialUniformCode(String socialUniformCode) 
	{
		this.socialUniformCode = socialUniformCode;
	}
	/**
	 * 返回 社会统一代码
	 * @return
	 */
	public String getSocialUniformCode() 
	{
		return this.socialUniformCode;
	}
	public void setForType(String forType) 
	{
		this.forType = forType;
	}
	/**
	 * 返回 发票类型。commen=普通发票；plus=增值税发票
	 * @return
	 */
	public String getForType() 
	{
		return this.forType;
	}
	public void setMoney(java.math.BigDecimal money) 
	{
		this.money = money;
	}
	/**
	 * 返回 发票金额
	 * @return
	 */
	public java.math.BigDecimal getMoney() 
	{
		return this.money;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("soId", this.soId) 
		.append("title", this.title) 
		.append("addr", this.addr) 
		.append("person", this.person) 
		.append("phone", this.phone) 
		.append("type", this.type) 
		.append("billToPartyType", this.billToPartyType) 
		.append("socialUniformCode", this.socialUniformCode) 
		.append("forType", this.forType) 
		.append("money", this.money) 
		.toString();
	}
}